package com.sena.engine.snmp.base;


import lombok.*;

import java.io.Serializable;

/**
 * @author Admin
 * snmp的target包含版本
 */
@Data
@Builder
public class SnmpTarget implements Serializable {
    private String nodeIP;
    private long targetSnmpTimeout = 5000L;
    private int targetSnmpRetry;
    private int snmpVersion;
    private String readCommunity;
    private String writeCommunity;
    private String proxySNMPGateIP;
    private int port;
    private String v3User;
    private int v3SecurityLevel;
    private String v3EngineName;
    private String v3ContextName;
    private int v3AuthProtocol;
    private String v3AuthPasswd;
    private int v3PrivacyProtocol;
    private String v3PrivacyPasswd;
    public static final int VERSION1 = 0;
    public static final int VERSION2C = 1;
    public static final int VERSION3 = 3;
    public static final int V3SecurityLevelNOAUTHNOPRIV = 1;
    public static final int V3SecurityLevelAUTHNOPRIV = 2;
    public static final int V3SecurityLevelAUTHPRIV = 3;
    public static final int V3AuthProtocolMD5 = 1;
    public static final int V3AuthProtocolSHA = 2;
    public static final int V3PrivacyProtocolDES = 1;




}
